import service from "../utils/request";

export function register(userData){
    return service({
        url: 'users/register',
        method: 'post',
        data: userData
    })
}

export function login(userData){
    return service({
        url: 'users/login',
        method: 'post',
        data: userData
    })
}